﻿using System;
using System.Collections.Generic;
using System.Text;
using Manager.App_Code.DTO;
using System.Data;

namespace Manager.App_Code.IDAL
{
    interface ILoaiPhong
    {
        List<LoaiPhongDTO> GetListLoaiPhong();

        List<LoaiPhongDTO> GetListLoaiPhongCountSoLuong_TinhTrang();

        LoaiPhongDTO GetLoaiPhongByID(string MaLoaiPhong);

        bool InsertLoaiPhong(LoaiPhongDTO loaiph);

        bool UpdateLoaiPhong(LoaiPhongDTO loaiph);

        bool DeleteLoaiPhong(LoaiPhongDTO loaiph);

        LoaiPhongDTO ConvertObjectDataRowToLoaiPhongDTODataRow(DataRow dr);
    }
}
